#define _CRT_SECURE_NO_WARNINGS 1
#include"my_string.h"

void* my_memcpy(void* dest, const void* sorc, size_t n){
	assert(dest && sorc);
	void* ret = dest;
	while (n--) {
		*(char*)dest = *(char*)sorc;
		dest = (char*)dest+1;
		sorc = (char*)sorc+1;
	}
	return ret;
}